package gov.ccswj.modules.ccbusiness.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import gov.ccswj.modules.ccbusiness.dao.CQualificationinfoDao;
import gov.ccswj.modules.ccbusiness.entity.CQualificationinfoEntity;
import gov.ccswj.modules.ccbusiness.service.CQualificationinfoService;



@Service("cQualificationinfoService")
public class CQualificationinfoServiceImpl implements CQualificationinfoService {
	@Autowired
	private CQualificationinfoDao cQualificationinfoDao;
	
	@Override
	public CQualificationinfoEntity queryObject(Integer id){
		return cQualificationinfoDao.queryObject(id);
	}
	
	@Override
	public List<CQualificationinfoEntity> queryList(Map<String, Object> map){
		return cQualificationinfoDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return cQualificationinfoDao.queryTotal(map);
	}
	
	@Override
	public void save(CQualificationinfoEntity cQualificationinfo){
		cQualificationinfoDao.save(cQualificationinfo);
	}
	
	@Override
	public void update(CQualificationinfoEntity cQualificationinfo){
		cQualificationinfoDao.update(cQualificationinfo);
	}
	
	@Override
	public void delete(Integer id){
		cQualificationinfoDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		cQualificationinfoDao.deleteBatch(ids);
	}
	@Override
	public void deleteByname(String entname) {
		cQualificationinfoDao.delete(entname);
		
	}
}
